package cn.igroup.service.bean.log;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/7/22.
 */
public class OperationLog implements Serializable {
    
    private static final long serialVersionUID = 1L;

    private String id;
    private Long userId;
    private String userName;
    private String target;
    private String type;
    private String content;
    private String ipAddress;
    private String position;
    private Long created;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreated() {
        return created;
    }

    public void setCreated(Long created) {
        this.created = created;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    @Override
    public String toString() {
        return String.format("OperationLog[id=%s, userId='%s',  userName='%s', ipAddress='%s',  position='%s', content='%s', created='%s']", id, userId, userName, ipAddress, position, type, content, created);
    }
}
